﻿(function($) {
    Sw.Namespace("$.sw");
    $.fn.extend({
        grid: function(options) {
            return this.each(function() {
                new $.sw.grid(this, options);
            });
        }
    });
    $.sw.grid = Class({
        container: null,
        options: null,
        items: null,
        isRendered: false,
        initialize: function(container, options) {
            this.container = $(container);
            this.options = $.extend({}, $.sw.grid.defaults, options);

            this.initComponent();
        },
        initComponent: function() {

        },
        setHeight: function() { }

    });
    $.extend($.sw.grid, {
        defaults: {
            selectedClass: "collapsable",
            className: "sw-accordion",
            headerClass: "sw-accordion-header",
            contentClass: "sw-accordion-content",
            hoverClass: "hover",
            parent: true,
            autoheight: true,
            active: 0

        }
    });
})(jQuery);
